package com.amzing.dynamicrulesshardingjdbc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("t_order")
@Data
public class Order {

    @TableId(type = IdType.AUTO)
    private Long orderId;

    private Integer userId;

    private Long addressId;

    private String status;

    private Long tenantId;

}
